package com.inetools.gwt.gajaxs.client;

import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class PicasaAlbumUnitFaceBinder extends Composite implements PicasaAlbumUnitFaceService {
	public PicasaAlbumUnitFaceBinder( UiBinder<Widget, PicasaAlbumUnitFaceBinder> uiBinder) {
		initWidget( uiBinder.createAndBindUi( this));
	}

	/*
	 * All @UiField and @UiHandler are defined as public in order to use this class 
	 * in other package with different .ui.xml file. Otherwise, compilation will fail due to 
	 * visibility of those fields and handlers.
	 */
	
	@UiField public Label locationCell;
	@Override
	public Label getLocationCell() {
		return locationCell;
	}

	@UiField public Label nameCell;
	@Override
	public Label getNameCell() {
		return nameCell;
	}

	@UiField public Label photoCountsCell;
	@Override
	public Label getPhotoCountsCell() {
		return photoCountsCell;
	}

	@UiField public Label summaryCell;
	@Override
	public Label getSummaryCell() {
		return summaryCell;
	}

	@UiField public Image thumbnailCell;
	@Override
	public Image getThumbnailCell() {
		return thumbnailCell;
	}

	@UiField public Label titleCell;
	@Override
	public Label getTitleCell() {
		return titleCell;
	}

	@UiField public Label updatedTimeCell;
	@Override
	public Label getUpdatedTimeCell() {
		return updatedTimeCell;
	}

	@UiField public Label userNameCell;
	@Override
	public Label getUserNameCell() {
		return userNameCell;
	}
}
